package com.cskaoyan.market.admin.service;

import com.cskaoyan.market.db.domain.MarketStorage;

import java.util.List;

public interface AdminStorageService {

    // 查询存储对象
    List<MarketStorage> list(Integer page, Integer limit, String sort, String order, String key, String name);

    // 创建存储对象
    MarketStorage update(MarketStorage updateMarketStorage);

    // 删除存储对象
    boolean delete(MarketStorage marketStorage);

    // 创建存储对象
    int create(MarketStorage marketStorage);
}
